yum -y install docker
systemctl start docker
systemctl enable docker
yum -y install epel-release
yum -y install python-pip
pip install docker-compose

tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://gjedjzbz.mirror.aliyuncs.com"]
}
EOF
# 重启docker
sudo systemctl daemon-reload
sudo systemctl restart docker
setenforce 0
